package com.ly.web.controller.common;

import com.ly.common.constant.HttpStatus;
import com.ly.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HttpErrorCodeController {
    @GetMapping("/403")
    public AjaxResult errorAuthorization()
    {
        return AjaxResult.error(HttpStatus.FORBIDDEN, "授权失效，请重新登陆");
    }
}
